Enumerating Rooted Graphs with Reflectional Block Structures
نویسندگان
چکیده
In this paper, we consider an arbitrary class H of rooted graphs such that each biconnected component is given by a representation with reflectional symmetry, which allows a rooted graph to have several different representations, called embeddings. We give a general framework to design algorithms for enumerating embeddings of all graphs in H without repetition. The framework yields an efficient enumeration algorithm for a class H if the class B of biconnected graphs used in the graphs in H admits an efficient enumeration algorithm. For example, for the class B of rooted cycles, we can easily design an algorithm of enumerating rooted cycles so that delivers the difference between two consecutive cycles in constant time in a series of all outputs. Hence our framework implies that, for the class H of all rooted cacti, there is an algorithm that enumerates each cactus in constant time.
منابع مشابه
Enumerating Rooted Biconnected Planar Graphs with Internally Triangulated Faces
A graph is called a triangulated planar graph if it admits a plane embedding in the plane such that all inner faces are triangle. In a rooted triangulated planar graph, a vertex and two edges incident to it are designated as an outer vertex and outer edges, respectively. Two plane embedding of rooted triangulated planar graphs are defined to be equivalent if they admit an isomorphism such that ...
متن کاملA new approach for enumerating maps on orientable surfaces
Classifying embeddings of a given graph G on orientable surfaces under the action of its automorphisms, a relation between the genus distribution of rooted maps and embeddings of graph G on orientable surfaces is established. Applying this relation enables us to enumerate rooted maps by automorphism groups or by enumerating labelled graphs with vertex partition and find new formulas for the num...
متن کاملConstant Time Generation of Rooted and Colored Outerplanar Graphs
An outerplanar graph is a graph that admits a planar embedding such that all vertices appear on the boundary of its outer face. Given a positive integer n and a color set C with K > 0 colors, we consider the problem of enumerating all colored and rooted outerplanar graphs with at most n vertices without repetition. We design an efficient algorithm that can generate all required graphs in consta...
متن کاملEnumerating Hamiltonian Cycles
A dynamic programming method for enumerating hamiltonian cycles in arbitrary graphs is presented. The method is applied to grid graphs, king’s graphs, triangular grids, and three-dimensional grid graphs, and results are obtained for larger cases than previously published. The approach can easily be modified to enumerate hamiltonian paths and other similar structures.
متن کاملGenerating Outerplanar Graphs Uniformly at Random
We show how to generate labeled and unlabeled outerplanar graphs with n vertices uniformly at random in polynomial time in n. To generate labeled outerplanar graphs, we present a counting technique using the decomposition of a graph according to its block structure, and compute the exact number of labeled outerplanar graphs. This allows us to make the correct probabilistic choices in a recursiv...
متن کامل